package com.qbm.association.service;

import com.qbm.association.bean.UserTypeEnum;
import com.qbm.association.entity.Password;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Aron
 * @since 2022-02-07
 */
public interface PasswordService extends IService<Password> {

    boolean updateUserPassword(Integer userId,UserTypeEnum type, String password);
    boolean matchPassword(Integer userId, UserTypeEnum type, String inputPassword);
    boolean insertUserPassword(Integer userId, UserTypeEnum type, String temp_password);
}
